package com.lingmeng.system.entity.excel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lingmeng.common.core.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Getter
@Setter
@Accessors(chain = true)
public class EquipExcel {

	@Excel(name = "MAC地址")
	private String mac;

	@Excel(name = "设备名称")
	private String name;

	@Excel(name = "制造商")
	private String manufacturer;

	@Excel(name = "型号")
	private String model;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
	private LocalDate manufactureDate;


}
